@charset "UTF-8";

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html,
body {
	width: 100%;
	height: 100%;
	overflow: hidden;
}

// 网页置灰
.gray {
	-webkit-filter: grayscale(1);
	-webkit-filter: grayscale(100%);
	-moz-filter: grayscale(100%);
	-ms-filter: grayscale(100%);
	-o-filter: grayscale(100%);
	filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='grayscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0'/></filter></svg>#grayscale");
	filter: progid:dximagetransform.microsoft.basicimage(grayscale=1);
	filter: grayscale(100%);
}

#app {
	width: 100%;
	height: 100%;
	font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
		"微软雅黑", Arial, sans-serif;
}

a {
	text-decoration: none;
	outline: none;
}

div {
	outline: none;
}

ul {
	list-style: none;
}

#nprogress {
	position: relative;
	z-index: 20000 !important;
}

.w100p {
	width: 100%;
}

.h100p {
	height: 100%;
}
.wh100p {
	@extend .w100p;
	@extend .h100p;
}

.c_white {
	color: #fff;
}
.bg_white {
	background-color: #fff;
}

.disblock {
	display: block;
}
.disinlblock {
	display: inline-block;
}
.disinline {
	display: inline;
}
.disflex {
	display: flex;
}

.ju_cen {
	justify-content: center;
}
.ju_bt {
	justify-content: space-between;
}
.ju_ar {
	justify-content: space-around;
}

.align-it-cen {
	align-items: center;
}
.align-it-start {
	align-items: flex-start;
}
.align-it-end {
	align-items: flex-end;
}
.align-it-bsl {
	align-items: baseline;
}

.discenter {
	@extend .disflex;
	@extend .ju_cen;
	@extend .align-it-cen;
}
.disaligncenter {
	@extend .disflex;
	@extend .align-it-cen;
}

.align-se-cen {
	align-self: center;
}

.flex-w {
	flex-wrap: wrap;
}

.flex-nw {
	flex-wrap: nowrap;
}

.flex-dir-c {
	flex-direction: column;
}

.flex-dir-rr {
	flex-direction: row-reverse;
}

.mauto {
	margin: auto;
}

.posst {
	position: static;
}
.posre {
	position: relative;
}
.posab {
	position: absolute;
}
.posfx {
	position: fixed;
}

.overhide {
	overflow: hidden;
}
.overauto {
	overflow: auto;
}
.visb_hid {
	visibility: hidden;
}

.text-over {
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}
.textc {
	text-align: center;
}
.textl {
	text-align: left;
}
.textr {
	text-align: right;
}
.text-underline {
	text-decoration: underline;
}
.textde-lt {
	text-decoration: line-through;
}
.text-no-select {
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none; /* Chrome/Safari/Opera */
	-khtml-user-select: none; /* Konqueror */
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* Internet Explorer/Edge */
	user-select: none;
}
.font-wb {
	font-weight: bold;
}

.whs-now {
	white-space: nowrap;
}
.fstyle-it {
	font-style: italic;
}

.curpot {
	cursor: pointer;
}

.valign-mid {
	vertical-align: middle;
}
.valign-top {
	vertical-align: top;
}
.valign-btm {
	vertical-align: bottom;
}

@for $i from 5 through 50 {
	@if $i % 5 == 0 {
		.mt#{$i} {
			margin-top: $i + px !important;
		}
		.mr#{$i} {
			margin-right: $i + px !important;
		}
		.mb#{$i} {
			margin-bottom: $i + px !important;
		}
		.ml#{$i} {
			margin-left: $i + px !important;
		}
		.pt#{$i} {
			padding-top: $i + px !important;
		}
		.pr#{$i} {
			padding-right: $i + px !important;
		}
		.pb#{$i} {
			padding-bottom: $i + px !important;
		}
		.pl#{$i} {
			padding-left: $i + px !important;
		}
	}
}
